import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { DictIntIntHelper } from "./DictIntIntHelper";
type int = number;
//class SStatue
    
    export  class SStatue
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.playerId);
            arg1.writeString(this.name);
            arg1.writeInt(this.camp);
            arg1.writeInt(this.sex);
            arg1.writeInt(this.career);
            arg1.writeInt(this.floor);
            arg1.writeInt(this.useTime);
            DictIntIntHelper.write(arg1, this.weapons);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.playerId = arg1.readInt();
            this.name = arg1.readString();
            this.camp = arg1.readInt();
            this.sex = arg1.readInt();
            this.career = arg1.readInt();
            this.floor = arg1.readInt();
            this.useTime = arg1.readInt();
            this.weapons = DictIntIntHelper.read(arg1);
            return;
        }

        public /* var */playerId: int;

        public /* var */name: string;

        public /* var */camp: int;

        public /* var */sex: int;

        public /* var */career: int;

        public /* var */floor: int;

        public /* var */useTime: int;

        public /* var */weapons: Map<any, any> /* flash.utils.Dictionary */;
    }
